<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="bootstrap/css/bootstrap.css">
    <style>
        .my{
            border: 1px solid black;
            height: 20px;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="row">
            <!-- 大于1200一行4个 每个占3份 -->
            <!-- 小于1200大于992 一行3个 每个占4份 -->
            <!-- 小于992大于768 一行2个 每个占6份 -->
            <!-- 小于768 一行1个 每个占12份 -->
            <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12 my"></div>
            <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12 my"></div>
            <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12 my"></div>
            <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12 my"></div>
        </div>
    </div>
</body>
</html>